WritePartInfo
TheWritePartInfo
method should write the part info data for a display frame of this part into the specified storage-unit view object.
void WritePartInfo (in ODInfoType partInfo, in ODStorageUnitView storageUnitView);
partInfo
- The part info data to write.
storageUnitView
- A reference to a storage-unit view object that is focused to the frame's part info property, but not to any value within that property.
DISCUSSION
When a document is saved (using the Save command from the Document menu), OpenDoc may ask this part to save a display frame's part info data to a particular storage unit. OpenDoc calls this method when it writes out the part info data for a display frame of a part.Your part's
WritePartInfo
method should get the storage unit associated with the specified storage-unit view and focus it to the value(s) in the frame's part info property as necessary to write the formats it needs.OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheODInfoType
type (page 883).
TheODPart::ClonePartInfo
method (page 487).
TheODPart::ReadPartInfo
method (page 538).
"The WritePartInfo Method" on page 110 in OpenDoc Cookbook.
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Reading and Writing Part Info" on page 302 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help